# -*- coding: utf-8 -*-

def endpoint(path='', version='v0',):
    base = '/api'
    point = "/".join([base, version, path.strip('/')])
    return point

